﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WheelOfCivilization.Map;
using WheelOfCivilization.Map.MapObject.Unmovable.Buildings;
using WheelOfCivilization.Map.MapObject.Movable;

namespace WheelOfCivilization
{
    public class PlayerResources
    {
        public PlayerResources()
        {
        }
        private List<BuildingObject> buildings;
        private List<MovingObject> units;
        public int food, wood, gold, stone;  //are these gonna be used?

        internal List<BuildingObject> buildingsP { get; set; }
        internal List<MovingObject> unitsP { get; set; }
        internal dynamic resources;


        internal void addBuilding(BuildingObject toAdd)
        {
            buildings.Add(toAdd);
        }
        internal void removeBuilding(BuildingObject toRemove)
        {
            buildings.Remove(toRemove);
        }

        internal void addUnit(MovingObject toAdd)
        {
            units.Add(toAdd);
        }
        internal void removeUnit(MovingObject toRemove)
        {
            units.Remove(toRemove);
        }
    }
}
